home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / 第1特集Plug-in / Photoshop / Marhil plugin 1.4.sit / Marhil plugin 1.4 / Source Code / Utilities.h < prev   
Text File  |  1994-01-29  |  989b  |  33 lines

  1. double     String2Real(Str255 str);
  2. void     Real2String(double n, int width, int fwidth, Str255 str);
  3.  
  4. int     GetDialogItem(DialogPtr TheDialog, int item);
  5. void     SetDialogItem(DialogPtr TheDialog, int item, int n);
  6. void     SetDNum(DialogPtr TheDialog, int item, int n);
  7. int     GetDNum(DialogPtr TheDialog, int item);
  8. void     SetDReal(DialogPtr TheDialog, int item, double n, int fwidth);
  9. double     GetDReal(DialogPtr TheDialog, int item);
  10. void     SetDString(DialogPtr TheDialog, int item, Str255 str);
  11. void     GetDString(DialogPtr TheDialog, int item, Str255 str);
  12.  
  13. typedef unsigned char
  14.     **ppc, *pc;
  15.     typedef struct 
  16.     {
  17.     int        x; /* x dimension */
  18.     int     y; /* y dimension */
  19.     short double  **e;    /* pointer to array of pointer to the rows */    
  20.     } imgdr, *Pimgdr, **Himgdr;
  21.  
  22. typedef struct 
  23.     {
  24.     int        x; /* x dimension */
  25.     int     y; /* y dimension */
  26.     unsigned char  **e;    /* pointer to array of pointer to the rows */    
  27.     } imgd, *Pimgd, **Himgd;
  28.  
  29. void     freeimgr(Pimgdr m);
  30. OSErr     dimimgr(Pimgdr m, int y, int x);
  31.  
  32.  
  33.